package com.mapper;

import com.pojo.Plot;

import java.util.List;

public interface PlotMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Plot record);

    int insertSelective(Plot record);

    Plot selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Plot record);

    int updateByPrimaryKey(Plot record);

    /***
     * 查询所有小区
     */
    public List<Plot> selectallPlot(Plot plot);

    public List<Plot> selectPlot();
}